//
//  NSDictionary+category.swift
//  FirstSwiftProduct
//
//  Created by 知合金服-Mini on 2017/10/30.
//  Copyright © 2017年 范泽华. All rights reserved.
//

import Foundation
extension NSDictionary {
    
    open override var debugDescription: String {
        var logstr = ""
        
        do {
            try  logstr = NSString.init(data: JSONSerialization.data(withJSONObject: self, options: JSONSerialization.WritingOptions.prettyPrinted), encoding: String.Encoding.utf8.rawValue)! as String
        } catch  {
            
        }
    
        return logstr
    }
}
